﻿<UserControl x:Class="SQLToolbox.View.UserControls.CircularProgressBar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <UserControl.Resources>
        <Style TargetType="{x:Type Ellipse}">
            <Setter Property="Width" Value="70"/>
            <Setter Property="Height" Value="70"/>
        </Style>
    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Viewbox Grid.Row="1" HorizontalAlignment="Left" >
            <Canvas Height="300" Width="300" Name="canvas">
                <Ellipse Canvas.Left="33" Canvas.Top="35" Name="e8"/>
                <Ellipse Canvas.Right="115" Canvas.Top="0" Name="e7"/>
                <Ellipse Canvas.Right="33" Canvas.Top="35" Name="e6"/>
                <Ellipse Canvas.Right="0" Canvas.Top="115"  Name="e5"/>
                <Ellipse Canvas.Right="33" Canvas.Bottom="35" Name="e4"/>
                <Ellipse Canvas.Right="115" Canvas.Bottom="0" Name="e3"/>
                <Ellipse Canvas.Left="33" Canvas.Bottom="35" Name="e2"/>
                <Ellipse Canvas.Left="0" Canvas.Top="115" Name="e1"/>
            </Canvas>
        </Viewbox>
    </Grid>
</UserControl>
